<%@ Control Language="c#" Inherits="LocalBoard.Web.UserControls.UserInformation" CodeFile="UserInformation.ascx.cs" %>
<table id="registrationInfo" border="0" cellpadding="0" width="100%">
<tr>
	<td colspan="2"><asp:label id="errorMessage" Font-Bold="True" ForeColor="red" Runat="server" Visible="False"></asp:label></td>
</tr>
<tr>
	<td width="20%">User Id:</td>
	<td><asp:textbox id="userId" Enabled="False" Runat="server" MaxLength="20"></asp:textbox>
	<asp:requiredfieldvalidator id="userIdValidator" Runat="server" ErrorMessage="User ID is required."	ControlToValidate="userId"></asp:requiredfieldvalidator></td>
</tr>
<tr>
	<td>Name:</td>
	<td><asp:textbox id="name" Runat="server" MaxLength="50"></asp:textbox></td>
</tr>
<tr id="passwordRow" runat="server">
	<td>Password:</td>
	<td><asp:textbox id="password" Runat="server" MaxLength="20" TextMode="Password"></asp:textbox>
	<asp:requiredfieldvalidator id="passwordValidator" Runat="server" ErrorMessage="Password is required." ControlToValidate="password"></asp:requiredfieldvalidator></td>
</tr>
<tr id="confirmPwdRow" runat="server">
	<td>Confirm pwd:</td>
	<td><asp:textbox id="confirmPassword" Runat="server" MaxLength="20" TextMode="Password"></asp:textbox></td>
</tr>
<tr>
	<td>Email:</td>
	<td><asp:textbox id="email" Runat="server" MaxLength="50"></asp:textbox></td>
</tr>
<tr>
	<td>Photo:</td>
	<td><input id="photoUpload" type="file" size="50" Runat="server" NAME="photoUpload"></td>
</tr>
<tr>
	<td>&nbsp;</td>
	<td><asp:Image ID="photo" Visible="False" Runat="server" /></td>
</tr>
<tr>
	<td valign="top">Biography:</td>
	<td><asp:textbox id="biography" TextMode="MultiLine" Height="300" Width="400" Runat="server" MaxLength="1000"></asp:textbox></td>
</tr>
</table>
<br>
<asp:Button ID="registerUser" Runat="server" Text="Register" onclick="registerUser_Click" />
<asp:Button ID="changeUser" Visible="False" Runat="server" Text="Confirm Change" onclick="changeUser_Click" />
